﻿<%@ Page Language="C#" MasterPageFile="~/Template.master" AutoEventWireup="true"
    CodeFile="InternalAccounting.aspx.cs" Inherits="InternalAccountingPage" Title="Ghasam | Internal Accounting List" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="title">
        <span class="pageTitle">لیست هزینه های داخلی</span>
    </div>
    
    <div>
        <hr />
    </div>
    
    <div>
        <mani:PagingGridView ID="gvInternalAccountings" VirtualItemCount="-1" runat="server" AutoGenerateColumns="False" PageSize="15" AllowPaging="true" DataKeyNames="Id" OnPageIndexChanging="gvInternalAccountings_PageIndexChanging">
            <Columns>
                <asp:BoundField DataField="Id" HeaderText="Id" Visible="false" InsertVisible="False" ReadOnly="True"
                    SortExpression="Id" />
                <asp:BoundField DataField="AccountName" HeaderText="نام حساب" SortExpression="AccountId" />
                <asp:TemplateField HeaderText="واریزی">
                    <ItemTemplate>
                        <%# Mani.Common.UIHelper.FormatString(Eval("Credit")) %>
                    </ItemTemplate>
                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="برداشت">
                    <ItemTemplate>
                        <%# Mani.Common.UIHelper.FormatString(Eval("Debit")) %>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="Description" HeaderText="توضیحات" SortExpression="Description" />
                <asp:TemplateField HeaderText="تاریخ ثبت">
                    <ItemTemplate>
                        <%# Mani.Common.MyPersianDate.DateTimeToPersian(Eval("ModifyStamp")) %>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </mani:PagingGridView>
    </div>
</asp:Content>
